package com.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xq.entity.TbDepartment;
import com.xq.vo.TbDepShowVo;
import com.xq.vo.TbDepVo;

import java.util.List;

/**
 * (TbDepartment)表服务接口
 *
 * @author makejava
 * @since 2020-07-25 20:23:46
 */
public interface TbDepartmentService extends IService<TbDepartment> {
    List<TbDepVo> findByDepartmentCount();

    /**
     * 部门管理页面的展示+查询
     * @param current
     * @param size
     * @return
     */
    Page<TbDepShowVo> findPageByDep(Integer current, Integer size, String name);
}